﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IntillisenseLib
{
    public class TextObject:ObjectTemplete
    {
        private String parameterName;

        public String ParameterName
        {
            get { return parameterName; }
            set { parameterName = value; }
        }
        private String paramaterValue;

        public String ParamaterValue
        {
            get { return paramaterValue; }
            set { paramaterValue = value; }
        }
#region Constructor
        public TextObject()
        {
            ObjType = eObjectType.TEXT;
        }
        public TextObject(String name, String value)
        {
            ObjType = eObjectType.TEXT;
            this.parameterName = name;
            this.paramaterValue = value;
        }        
#endregion

        public override string GetParameterDisplayName()
        {
            return parameterName;
        }

        public override string GetParameterValue()
        {
            return paramaterValue;
        }

        public override string GetFullPath()
        {
            return "";
        }

        public override List<ObjectTemplete> GetAllChilds()
        {
            return null;
        }
    }
}
